Skip to content

Replace codecs.open by open#25

Open
stefan6419846 wants to merge 1 commit intoaboutcode-org:developfrom
stefan6419846:patch-1
Open

Replace codecs.open by open#25
stefan6419846 wants to merge 1 commit intoaboutcode-org:developfrom
stefan6419846:patch-1

Conversation

@stefan6419846
Copy link

The reason is a deprecation warning introduced with Python 3.14:

/opt/hostedtoolcache/Python/3.14.0-rc.2/x64/lib/python3.14/site-packages/publicsuffix2/__init__.py:86: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
  with codecs.open(psl_file or PSL_FILE, 'r', encoding='utf8') as psl:

The reason is a deprecation warning introduced with Python 3.14:

```
/opt/hostedtoolcache/Python/3.14.0-rc.2/x64/lib/python3.14/site-packages/publicsuffix2/__init__.py:86: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
  with codecs.open(psl_file or PSL_FILE, 'r', encoding='utf8') as psl:
```

---

Signed-off-by: stefan6419846 <96178532+stefan6419846@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant